/*
 * Copyright(c) 2018 优居科技 All rights reserved.
 * distributed with this file and available online at
 * http://www.yjyz.com/
 */
package com.zb.api.business.service;


import com.zb.api.business.dto.PosMerchantDto;
import com.zb.api.business.dto.PosWaresDto;
import com.zb.api.business.dto.UserDesignerDto;
import com.zb.api.common.models.CityVo;
import com.zb.api.common.models.ComboBoxVO;
import com.zb.api.common.models.Page;

import java.util.List;

/**
* 商户表
 *
 * @author cwp
 * @version v1.0
 * @CreationTime: - 2022-02-08 14:19:30
 * @Description:
 */
public interface IPosMerchantService {

	/**
	 * 获取商户表分页数据
	 * @param page
	 * @return
	 * @throws Exception
	 * */
	Page<PosMerchantDto> getPosMerchantList(int pageNo, int pageSize, PosMerchantDto posMerchant);

	/**
	 * 获取商户表对象
	 * @param id
	 * @return
	 */
	PosMerchantDto get(String id);

	/**
	 * 商户表修改
	 * @param posMerchant
	 * @return 记录影响行数
	 * @throws Exception
	 */
	int update(PosMerchantDto posMerchant);

	/**
	 * 商户表添加
	 * @param posMerchant
	 * @return 记录影响行数
	 * @throws Exception
	 */
	int insert(PosMerchantDto posMerchant);

	/**
	 * 商户表删除
	 * @param posMerchant
	 * @return 记录影响行数
	 * @throws Exception
	 */
	int delete(PosMerchantDto posMerchant);

	Integer registerMerchant(PosMerchantDto posMerchantDto) throws IllegalAccessException;

	List<ComboBoxVO> getCityList(CityVo cityVo);

	Integer addDesigner(UserDesignerDto userDesignerDto);

	Integer delDesigner(String id);

	List<UserDesignerDto> getDesignerList(UserDesignerDto userDesignerDto);
}
